<template>
  <el-container>
    <el-header height="20px">
      <el-tag>用户认证数据</el-tag>
    </el-header>
    <el-main>
      <el-table
        :data="tableData"
        style="width: 100%"
        height="250">
        <el-table-column
          fixed
          prop="diffEvent"
          label="事项"
        >
        </el-table-column>
        <el-table-column
          prop="diffRes"
          label="结果"
        >
        </el-table-column>
      </el-table>
    </el-main>
    <el-footer>
      <el-button type="primary" id="tag-position" @click="jump">点击查看详情</el-button>
    </el-footer>
  </el-container>
</template>

<script>
export default {
  name: 'UserServiceComponent',
  data() {
    return {
      tableData: [
        {
          diffEvent: '实体认证处理时间',
          diffRes: '300 ms'
        },
        {
          diffEvent: '历史认证成功总次数',
          diffRes: '10000'
        }
      ]
    }
  },
  methods: {
    jump() {
      this.$router.push('/user-service-data')
    }
  }
}
</script>

<style scoped>
#tag-position{
  margin-left: 70%;
}
</style>
